#include "outputport.h"

outputPort::outputPort()
{

}

outputPort::outputPort(int aID, int sID, bool value)
{
    this->setAfterID(aID);
    this->setSelfID(sID);
    this->setValue(value);
}

void outputPort::setAfterID(int ID)
{
    this->afterID = ID;
}

int outputPort::getAfterID()
{
    return this->afterID;
}

void outputPort::setSelfID(int ID)
{
    this->selfID = ID;
}

int outputPort::getSelfID()
{
    return this->selfID;
}

void outputPort::setValue(bool value)
{
    this->value = value;
}

bool outputPort::getValue()
{
    return this->value;
}
